package ssm.xml.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("hw")
    public String hw() {
        return "hello world";
    }

    @RequestMapping("error")
    public String error() {
        int i = 5 / 0;
        return "hello world";
    }
}